package com.tjhzzx.hnceCore2024.model.dashboard;

import javax.baja.naming.BOrd;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;

public class BTextLabel extends BBaseChart {


    public BTextLabel() {
        setTitle("TextLabel#");
    }

    public static final Property fontSize = newProperty(0, "16px", null);

    public String getFontSize() {
        return getString(fontSize);
    }

    public void setFontSize(String v) {
        setString(fontSize, v, null);
    }

//    public static final Property textIcon = newProperty(0, BOrd.make("file:^html/images/text-label-icon.png"), null);

    public static final Property textIcon = newProperty(0, BOrd.make("file:^html/static/temperature.png"), null);

    public BOrd getTextIcon() {
        return (BOrd) get(textIcon);
    }

    public void setTextIcon(BOrd v) {
        set(textIcon, v, null);
    }

    public static final Property ord = newProperty(0, BOrd.DEFAULT, null);

    public BOrd getOrd() {
        return (BOrd) get(ord);
    }

    public void setOrd(BOrd v) {
        set(ord, v, null);
    }

    public static final Property unit = newProperty(0, "", null);

    public String getUnit() {
        return getString(unit);
    }

    public void setUnit(String v) {
        setString(unit, v, null);
    }

    @Override
    public Type getType() {
        return TYPE;
    }

    public static final Type TYPE = Sys.loadType(BTextLabel.class);

}
